package com.ibeetl.admin.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;


/* 
* 
* gen by Spring Boot2 Admin 2018-06-13
*/
public class CoreOrder extends BaseEntity{

    //id
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	
    //商品名称

    private String name ;
	
    //商品价格

    private String price ;
	
    //商品折扣

    private String discount ;
	
    //是否打折

    private String isDiscount ;
	
    //创建日期

    private Date createdAt ;
	
    public CoreOrder()
    {
    }

    /**id
    *@return 
    */
    public Integer getId(){
	    return  id;
    }
    /**id
    *@param  id
    */
    public void setId(Integer id){
        this.id = id;
    }

    /**商品名称
    *@return 
    */
    public String getName(){
	    return  name;
    }
    /**商品名称
    *@param  name
    */
    public void setName(String name){
        this.name = name;
    }

    /**商品价格
    *@return 
    */
    public String getPrice(){
	    return  price;
    }
    /**商品价格
    *@param  price
    */
    public void setPrice(String price){
        this.price = price;
    }

    /**商品折扣
    *@return 
    */
    public String getDiscount(){
	    return  discount;
    }
    /**商品折扣
    *@param  discount
    */
    public void setDiscount(String discount){
        this.discount = discount;
    }

    /**是否打折
    *@return 
    */
    public String getIsDiscount(){
	    return  isDiscount;
    }
    /**是否打折
    *@param  isDiscount
    */
    public void setIsDiscount(String isDiscount){
        this.isDiscount = isDiscount;
    }

    /**创建日期
    *@return 
    */
    public Date getCreatedAt(){
	    return  createdAt;
    }
    /**创建日期
    *@param  createdAt
    */
    public void setCreatedAt(Date createdAt){
        this.createdAt = createdAt;
    }


}
